package com.tuanzi.loan.business.repository.statistics.custom;

import com.tuanzi.loan.business.entity.collaborate.StatCollaborateMarketLogin;
import com.tuanzi.loan.vo.request.statistics.login.StatMarketLoginRequest;
import com.tuanzi.loan.vo.response.statistics.login.StatMarketLoginResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Date;
import java.util.List;

/**
 * @Author: chenweijun
 * @Date: 2019/3/6 16:55
 * @Description:
 */
public interface StatMarketLoginCustomRepository {

    Page<StatMarketLoginResponse> list(StatMarketLoginRequest request, Pageable pageable);

    List<StatCollaborateMarketLogin> findAllByCreateDateAndChannelIn(List<Integer> channels, Date date);

}
